//
//  LHUserTopView.m
//  Knight_Tour
//
//  Created by dlios on 15-5-14.
//  Copyright (c) 2015年 TouchOne. All rights reserved.
//

#import "LHUserTopView.h"
#import "LHUserView.h"
@implementation LHUserTopView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createTopView];
    }
    return self;
}
- (void) createTopView
{
    // 创建UIView
    LHUserView *view = [[LHUserView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, 214)];
    view.backgroundColor = [UIColor cyanColor];
    [self addSubview:view];
    [view release];
}
@end
